package com.ys.disease.commons;

import com.ys.disease.utils.uuid.UUIDUtil;

/**
 * @author lin
 * @Description: 封装验证key值
 * @PROJECT_NAME: ys-scms-server
 * @DESCRIPTION:
 * @USER: lin
 * @DATE: 2024/10/3 22:47
 */
public class VerifyGlobalKey {

    /**
     *按照key+用户名+密码验证可用性。
     * @param key
     * @param username
     * @param password
     * @return
     */
    public boolean checkGlobalKey(String key,String username,String password){
        return true;
    }

    /**
     * 生成唯一Key
     * @return
     */
    public String generateKey(){
        //调用UUIDUtils生成唯一key
        return UUIDUtil.get32UUID();
    }
}
